home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / gui / precog2_1.lha / Precognition2_1 / src / src.lha / Library / VScrollerClass.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-27  |  2.1 KB  |  71 lines

  1. /* ==========================================================================
  2. **
  3. **                         VScrollerClass.h
  4. **
  5. ** ©1991 WILLISoft
  6. **
  7. ** ==========================================================================
  8. */
  9.  
  10. #ifndef VSCROLLERCLASS_H
  11. #define VSCROLLERCLASS_H
  12.  
  13. #include "VScroller.h"
  14. #include "SliderClass.h"
  15.  
  16. struct PositionerClass *VScrollerClass __PARMS(( void ));
  17.  
  18. void VScroller_SetInteractorWindow __PARMS(( VScroller *self, pcgWindow *window ));
  19.  
  20. void VScroller_CleanUp __PARMS(( VScroller *self ));
  21.  
  22. void VScroller_Render __PARMS(( VScroller *self, RastPort *RPort ));
  23.  
  24. Gadget *VScroller_FirstGadget __PARMS(( VScroller *self ));
  25.  
  26. USHORT VScroller_nGadgets __PARMS(( VScroller *self ));
  27.  
  28. ULONG VScroller_IDCMPFlags __PARMS(( VScroller *self ));
  29.  
  30. USHORT VScroller_ClaimEvent __PARMS(( VScroller *self, IntuiMessage *event ));
  31.  
  32. BOOL VScroller_EnableIactor __PARMS(( VScroller *self, BOOL enable ));
  33.  
  34. USHORT VScroller_Respond __PARMS(( VScroller *self, IntuiMessage *event ));
  35.  
  36. void VScroller_Refresh __PARMS(( VScroller *self ));
  37.  
  38. /* Changed USHORT to long -- EDB */
  39. long VScroller_Value __PARMS(( VScroller *self ));
  40.  
  41. /* Changed USHORT to long and LONG -- EDB */
  42. long VScroller_SetValue __PARMS(( VScroller *self, LONG position ));
  43.  
  44. USHORT VScroller_KnobSize __PARMS(( VScroller *self ));
  45.  
  46. USHORT VScroller_SetKnobSize __PARMS(( VScroller *self, USHORT knobsize ));
  47.  
  48. char *VScroller_Title __PARMS(( VScroller *self ));
  49.  
  50. BOOL VScroller_SetTitle __PARMS(( VScroller *self,
  51.                          char      *title ));
  52.  
  53. /* Added Default Font Methods -- EDB */
  54. TextAttr *VScroller_DefaultFont __PARMS(( VScroller *self ));
  55.  
  56. BOOL VScroller_SetDefaultFont __PARMS(( VScroller *self, TextAttr *default_font ));
  57.    /*
  58.    ** returns FALSE if default_font points to NULL.
  59.    ** returns FALSE if object cannot open specified font.
  60.    */
  61.  
  62. AlignInfo *VScroller_TextAlignment __PARMS(( VScroller *self ));
  63.  
  64. BOOL VScroller_SetTextAlignment __PARMS(( VScroller *self,
  65.                                       UBYTE     Flags,
  66.                                       BYTE      Xpad,
  67.                                       BYTE      Ypad ));
  68.  
  69.  
  70.  
  71. #endif